package com.atguigu.gulimall.product.feign;


import com.atguigu.common.utils.R;
import com.atguigu.gulimall.product.entity.SkuHasStockVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @author ct_start
 * @create 2022 -02 -06
 **/

@FeignClient("gulimall-ware")
public interface WareFeignService {
    @PostMapping("ware/waresku/hasstock")
    public R getSkuHasStock(@RequestBody List<Long> skuIds);
}
